<style type="text/css">
.layui-form-item .layui-form-label{width:150px;}
.layui-form-item .layui-input-inline{max-width:70%;width:50%;}
.layui-form-mid{padding:0!important;}
.layui-form-mid code{color:#5FB878;}
.layui-form-pane .layui-input-block{margin-left:150px;}
</style>
<form class="layui-form layui-form-pane" action="{:url()}" method="post" onSubmit="return check();" id="editForm">
    
    <div class="layui-form-item">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-name " name="name"  autocomplete="off" placeholder="请输入文字">
        </div>
    </div>
	
	<div class="layui-form-item">
        <label class="layui-form-label">显示到底部</label>
        <div class="layui-input-inline">
            <select name="isfooter"  class="field-isfooter" type="select">
				<option value="0">否</option>
				<option value="1">是</option>
            </select>
        </div>
    </div>
	
	 <div class="layui-form-item">
        <label class="layui-form-label">电话</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-tel " name="tel"  autocomplete="off" placeholder="请输入文字">
        </div>
    </div>
	
	 <div class="layui-form-item">
        <label class="layui-form-label">邮件</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-email " name="email"  autocomplete="off" placeholder="请输入文字">
        </div>
    </div>
	
	 <div class="layui-form-item">
        <label class="layui-form-label">传真</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-fox " name="fox"  autocomplete="off" placeholder="请输入文字">
        </div>
    </div>
	<div class="layui-form-item">
        <label class="layui-form-label">QQ</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-qq " name="qq"  autocomplete="off" placeholder="请输入文字">
        </div>
    </div>
	
	<div class="layui-form-item">
        <label class="layui-form-label">地址</label>
        <div class="layui-input-block">
			 <div class="layui-input-inline">
				<input type="text" class="layui-input field-addr " name="addr"  autocomplete="off" placeholder="请输入文字">
			</div>

        </div>
    </div>
	
	<div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-orderby " name="orderby"  autocomplete="off" placeholder="数字越大越靠前">
        </div>
    </div>
	 
	 
	 <div class="layui-form-item">
        <label class="layui-form-label">地图代码</label>
        <div class="layui-input-block">
            <textarea name="remark" class="layui-input field-remark " autocomplete="off" placeholder="请输入文字" ></textarea>
        </div>
    </div>
	 
	<div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" class="field-id" name="id">

            <button type="submit"  class="layui-btn" >提交</button>
            <a href="{:url('index')}" class="layui-btn layui-btn-primary ml10"><i class="aicon ai-fanhui"></i>返回</a>
        </div>
    </div>
	 
	 
</form>
<script>
var formData = {:json_encode($data_info)};
var $;
layui.use(['jquery', 'laydate', 'upload'], function() {
	$ = layui.jquery;
    var laydate = layui.laydate, layer = layui.layer, upload = layui.upload;
    
});

function check(){
	
		var txt = $("#ggg").find("option:selected").text();
		
		$("#iname").val(txt);
		return true;
		
	}

</script>

<script src="__ADMIN_JS__/footer.js"></script>